using System;

namespace SharpMud.Text.Escaping
{
	/// <summary>
	/// Provides a simple passthrough that escapes text to prepare for literal use in a RegEx pattern
	/// </summary>
	public class RegEx
	{
		private RegEx()
		{
		}

		public static string Escape(string text)
		{
			return System.Text.RegularExpressions.Regex.Escape(text);
		}

		public static string Unescape(string text)
		{
			return System.Text.RegularExpressions.Regex.Unescape(text);
		}
	}
}
